import { Document } from 'mongoose'
import { IUser } from '../models/User'

export interface IPopulatedRoom extends Document {
  _id: string
  title: string
  host: IUser // 这里是完整的用户对象，而不是 ObjectId
  status: 'live' | 'ended'
  viewers: number
  streamKey: string
  createdAt: Date
  startedAt?: Date
  endedAt?: Date
}
